package com.ruoyi.recruit.domain;

import com.baomidou.mybatisplus.annotation.*;

import javax.validation.constraints.NotBlank;

import com.ruoyi.common.mybatisplus.core.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;

/**
 * 到岗人员对象 recruit_user_confirm
 * 
 * @author ruoyi
 * @date 2022-05-05
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("recruit_user_confirm")
public class RecruitUserConfirm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 招聘id */
    @NotBlank(message = "招聘id不能为空")
    private Long recruitId;

    /** 招聘名称 */
    @TableField(exist = false)
    @Excel(name = "招聘名称")
    private String recruitName;

    /** 计划id */
    @NotBlank(message = "计划id不能为空")
    private Long contentId;

    /** 岗位名称 */
    @Excel(name = "岗位名称")
    @TableField(exist = false)
    private String postName;

    /** 岗位代码 */
    @Excel(name = "岗位代码")
    @TableField(exist = false)
    private String postCode;

    /** 岗位层次 */
    @Excel(name = "岗位层次")
    @TableField(exist = false)
    private String postLevel;

    /** 用户id */
    @NotBlank(message = "用户id不能为空")
    private Long userId;

    /** 姓名 */
    @Excel(name = "姓名")
    @TableField(exist = false)
    private String name;

    /** 性别 */
    @Excel(name = "性别", dictType = "sys_user_sex", comboDict = "sys_user_sex")
    @TableField(exist = false)
    private String sex;

    /** 身份证号 */
    @Excel(name = "身份证号")
    @TableField(exist = false)
    private String idCard;

    /** 手机号码 */
    @Excel(name = "手机号码", type = Excel.Type.EXPORT)
    @TableField(exist = false)
    private String phonenumber;

    /** 学历 */
    @TableField(exist = false)
    @Excel(name = "学历", dictType = "basic_educate_name", type = Excel.Type.EXPORT)
    private String educateName;

    /** 学位 */
    @TableField(exist = false)
    @Excel(name = "学位", dictType = "basic_educate_degree", type = Excel.Type.EXPORT)
    private String degreeName;

    /** 毕业学校 */
    @TableField(exist = false)
    @Excel(name = "毕业学校", type = Excel.Type.EXPORT)
    private String schoolName;

    /** 所学专业 */
    @TableField(exist = false)
    @Excel(name = "所学专业", type = Excel.Type.EXPORT)
    private String majorName;

    /** 毕业时间 */
    @TableField(exist = false)
    @Excel(name = "毕业时间", type = Excel.Type.EXPORT)
    private String finishTime;

    /** 到岗日期 */
    @Excel(name = "到岗日期")
    private String confirmTime;

    /** 删除标识 */
    @TableLogic
    private String delFlag;
}
